package com.elitel.common.pagelist;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class PageResult<X> {

    @JsonProperty("FileName")
    private String fileName;

    @JsonProperty("FileUrl")
    private String fileUrl;

    @JsonProperty("FooterList")
    private List<X> footerList;

    @JsonProperty("PageCount")
    private int pageCount;

    @JsonProperty("PageIndex")
    private int pageIndex;

    @JsonProperty("PageList")
    private List<X> pageList;

    @JsonProperty("PageSize")
    private int pageSize;

    @JsonProperty("RecordCount")
    private int recordCount;

    @JsonProperty("RecordFrom")
    private int recordFrom;

    @JsonProperty("RecordTo")
    private int recordTo;

    public String getFileName() {
        return fileName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public List<X> getFooterList() {
        return footerList;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public List<X> getPageList() {
        return pageList;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public int getRecordFrom() {
        return recordFrom;
    }

    public int getRecordTo() {
        return recordTo;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public void setFooterList(List<X> footerList) {
        this.footerList = footerList;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public void setPageList(List<X> pageList) {
        this.pageList = pageList;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public void setRecordFrom(int recordFrom) {
        this.recordFrom = recordFrom;
    }

    public void setRecordTo(int recordTo) {
        this.recordTo = recordTo;
    }
}
